package com.linkwechat.system.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.linkwechat.system.domain.SysTenant;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linkwechat.system.domain.SysTenantVo;

import java.util.List;

/**
 * 租户信息Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-05
 */
public interface SysTenantMapper extends BaseMapper<SysTenant> {
    /**
     * 获取所有租户
     * @return
     */
    @SqlParser(filter = true)
    List<SysTenantVo> getAllTenantInfo();
}
